home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 794 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.6 KB

  1. From: mh1@irz301.inf.tu-dresden.de (Michael Hohmuth)
  2. Subject: Re: MiNT goes UNiX, invitation for mailing list
  3. Date: Wed, 12 Jan 1994 14:13:08 +0100 (MET)
  4. In-Reply-To: <199401121154.AA05559@avignon.daimi.aau.dk> from "Christian Lynbech" at Jan 12, 94 12:54:50 pm
  5. Mime-Version: 1.0
  6.  
  7. > > Btw., why not just using __MINT__ as a compiler switch, it is
  8. > > predefined by the MiNTlibs and independent of the compiler.  For
  9. > > compiler dependent code we can use atarist for GCC, ??? for PureC, and
  10. > > so on.
  11.  
  12. > Because people have already used __MINT__ in an incompatible way, I
  13. > believe. For instance, in tcsh, the startup file is named cshrc.csh
  14. > (not .cshrc) on the atari.
  15.  
  16. Well, the `tcsh' port uses "#ifdef TOSFS" instead of "#ifdef __MINT__"
  17. for this very purpose.  If you recompile without TOSFS defined, you
  18. get what you want.
  19.  
  20. I don't know why you always cite the `tcsh' port as an example of how
  21. __MINT__ is incompatibly used.  I believe that the `tcsh' port uses
  22. __MINT__ in the correct way, meaning "if using MiNT Library, do this".
  23. (And I should know, I did it.  ;-)
  24.  
  25. > So it would beb better to tie the choice between the two types:
  26. > `maximum unix conformance' and `maximum tos compability' to a brand
  27. > new switch, whether that would be a I_WANT_UNIX or I_WANT_TOS.
  28.  
  29. Perhaps we should extend the MiNT Library with an extra switch
  30. _UNIX_SOURCE meaning "maximum unix conformance".  _TOS_SOURCE could
  31. mean "maximum tos compability".  _MINT_SOURCE could mean what the
  32. current default with mntlib is, but I could also imagine _UNIX_SOURCE
  33. being the default.
  34.  
  35. Besides, this way we won't need another library.
  36.  
  37. Michael
  38. -- 
  39. Internet: hohmuth@freia.inf.tu-dresden.de
  40.